package com.yami.shop.sys.service.impl;
import cn.hutool.core.collection.CollectionUtil;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.sys.constant.Constant;
import com.yami.shop.sys.dao.SysMenuMapper;
import com.yami.shop.sys.dao.SysRoleMenuMapper;
import com.yami.shop.sys.model.SysMenu;
import com.yami.shop.sys.service.SysMenuService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

/**
 * @author dark
 */
@Service("sysMenuService")
@AllArgsConstructor
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService {

	private final SysRoleMenuMapper sysRoleMenuMapper;

	private final SysMenuMapper sysMenuMapper;

	@Override
	public List<SysMenu> listMenuByUserId(Long userId) {

		return null;
	}

	@Override
	public void deleteMenuAndRoleMenu(Long menuId){

	}

	
	@Override
	public List<Long> listMenuIdByRoleId(Long roleId) {

		return null;
	}


	@Override
	public List<SysMenu> listSimpleMenuNoButton() {

		return null;
	}

	@Override
	public List<SysMenu> listRootMenu() {
		return null;
	}

	@Override
	public List<SysMenu> listChildrenMenuByParentId(Long parentId) {
		return null;
	}

	@Override
	public List<SysMenu> listMenuAndBtn() {
		return null;
	}
	
}
